import { useState, useCallback, useRef, useEffect, memo } from 'react';
import './index.less';
import BetGame from './BetGame';

const Play = () => {
  const container = useRef<HTMLDivElement | null>(null);

  const init = () => {
    new BetGame(container.current!)
  }


  useEffect(() => {
    init()
  }, [])

  return (
    <div className="play" ref={container}>

    </div>
  );
};

export default memo(Play, () => true);
